<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>我的信息</title>
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/css/common.css}" rel="stylesheet">
    <link th:href="@{/css/user.css}" rel="stylesheet">

</head>
<body>
<div class="container" style="background:white">
    <div th:replace="~{commons/common::header}"></div>
    <div th:replace="~{commons/common::topbar}"></div>
    <div class="row">
        <div class="col-md-9 col-sm-12">
            <div class="user-info-box">
                <div class="user-info-inner-box">
                    <h2 style="margin-bottom:25px">修改密码</h2>
                    <p style="color:red; text-align: center; margin-bottom:8px; font-size: 20px" th:text="${msg}"
                       th:if="${not #strings.isEmpty(msg)}"></p>
                    <form class="form-horizontal" id="passwordForm" method="post" th:action="@{/user/modifyPassword}"
                          enctype="multipart/form-data">
                        <div class="form-group">
                            <label class="col-sm-3 control-label"><font color="red">* </font>原密码</label>
                            <div class="col-sm-8">
                                <input type="password" id="userPassword" name="userPassword" class="form-control reg-input" autocomplete="off">
                                <font color="red"></font>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label"><font color="red">* </font>新密码</label>
                            <div class="col-sm-8">
                                <input type="password" id="newPassword" name="newPassword" class="form-control reg-input" autocomplete="off">
                                <font color="red"></font>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label"><font color="red">* </font>确认新密码</label>
                            <div class="col-sm-8">
                                <input type="password" id="newPasswordCheck" name="newPasswordCheck" class="form-control reg-input" autocomplete="off">
                                <font color="red"></font>
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-offset-3 col-sm-2">
                                <button type="button" id="password-Modify-btn" class="btn btn-primary btn-lg btn-block">
                                    提交
                                </button>
                            </div>
                            <div class=" col-sm-2">
                                <button type="button" id="backButton" class="btn btn-default btn-lg btn-block">返回
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div class="col-md-3 col-sm-12">
            <div th:replace="~{commons/common::headerimage}"></div>
        </div>
    </div>
    <div th:replace="~{commons/common::footer}"></div>
</div>

</body>

<script th:src="@{/js/jquery-1.11.0.min.js}"></script>
<script th:src="@{/js/jquery.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
<script th:src="@{/js/common.js}"></script>
<script th:src="@{/js/button.js}"></script>
<script th:src="@{/js/user/modifyPassword.js}"></script>
</html>







